package com.leete.listener;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;

/**
 * @author liqiang
 * @version 1.0
 * @description: 自定义listener
 * @date 2023/4/13 17:16
 */
public class CustomerListener implements ApplicationListener {


    /**
     * Handle an application event
     *
     * @param e event to respond to
     */
    public void onApplicationEvent(ApplicationEvent e) {
        System.out.println("Spring 启动完成后执行注册的ApplicationListener------ CustomerListener");
    }
}
